.promotion-price,
.promotion-evaluate span {
  color: #f4290d;
}

// 折扣
.discount-title {
  width: 60px;
  height: 25px;
  position: relative;
  text-align: center;
  background-color: #f4290d;
  color: #fff;

  .triangle {
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 12.5px solid #f4290d;
    border-right: 12.5px solid #fff;
    border-bottom: 12.5px solid #f4290d;
    border-left: 12.5px solid #f4290d;
    position: absolute;
  }
}

// 五角星
#star-five {
  margin: 50px 0;
  position: relative;
  display: block;
  color: red;
  width: 0px;
  height: 0px;
  border-right: 100px solid transparent;
  border-bottom: 70px solid red;
  border-left: 100px solid transparent;
  -moz-transform: rotate(35deg);
  -webkit-transform: rotate(35deg);
  -ms-transform: rotate(35deg);
  -o-transform: rotate(35deg);
}

#star-five:before {
  border-bottom: 80px solid red;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  position: absolute;
  height: 0;
  width: 0;
  top: -45px;
  left: -65px;
  display: block;
  content: '';
  -webkit-transform: rotate(-35deg);
  -moz-transform: rotate(-35deg);
  -ms-transform: rotate(-35deg);
  -o-transform: rotate(-35deg);

}

#star-five:after {
  position: absolute;
  display: block;
  color: red;
  top: 3px;
  left: -105px;
  width: 0px;
  height: 0px;
  border-right: 100px solid transparent;
  border-bottom: 70px solid red;
  border-left: 100px solid transparent;
  -webkit-transform: rotate(-70deg);
  -moz-transform: rotate(-70deg);
  -ms-transform: rotate(-70deg);
  -o-transform: rotate(-70deg);
  content: '';
}

.original-price {
  margin-left: 8px;
  text-decoration: line-through;
  color: #808080;
}

.original-cost {
  color: #f91616;
}

/* 商品分类 */
#goodsCategory {
  height: 508px;
  position: relative;

  // 轮播图
  .goods-category-banner {
    position: absolute;
    top: 0;
  }

  // 页码
  .controls {
    color: #fff;
    height: 24px;
    position: relative !important;
    top: 404px;
  }

  .goodsCategory-rigth {
    position: absolute;
    right: 2px;

    img {
      width: 100px;
      height: 100px;
      padding-bottom: 19px;
    }

    h2 {
      color: #ffffff;
      height: 30px;
      line-height: 30px;
      padding-left: 6px;
      background-color: #93d46f;
      font-size: 18px;
    }

    ul {
      height: 400px;
    }

    .height {
      height: 100px;
    }

    li {
      position: relative;
      padding: 20px 0 19px;
      height: 3px;
      overflow: hidden;
      border-bottom: 1px solid #ccc;
    }

    .content>li:nth-child(7) {
      border: 0
    }

    .index {
      display: inline-block;
      background: #f60;
      color: #fff;
      text-align: center;
      line-height: 20px;
      width: 20px;
      height: 20px;
      position: absolute;
      top: 0px;
      right: 0px;
    }

    .content {
      >.height:nth-child(1) {
        height: 100px;
      }
    }
  }

  .goods-content {
    width: 98px;
  }

  .goodsCategory-below {
    position: absolute;
    bottom: -16px;
  }
}

/* 乐购·图书折扣区  */
#discount {
  .recommend {
    img {
      width: 100px;
    }
  }

  .discount-content {
    padding: 10px;
  }
}

/* 图书 电子书 */
.books {
  display: flex;
  justify-content: space-between;

  .books-classify {
    width: 900px;
  }

  .books-title,
  .books-rigth {
    display: flex;
    justify-content: space-between;
  }

  .books-title {
    height: 37px;
    line-height: 37px;
    margin-top: 22px;
  }

  .books-rigth {
    div {
      text-align: center;
      width: 98px;
    }
  }

  .books-details {
    height: 460px;
    border: 2px solid #ccc;
    padding: 0 20px;
  }

  .details-left {
    li {
      padding: 0 10px;
      font-size: 14px;
      padding-top: 10px;
    }

    .publisher {
      color: #808080;
    }
  }

  .details-right {
    flex: 1;

    table {
      display: flex;
      justify-content: space-between;
      border-collapse: collapse;

      tr {
        width: 100%;
        width: 168px !important;
        height: 187px;
        background-color: #fff;
        border: solid 2px #cccccc;

        td {
          border: solid 1px #cccccc;
        }
      }

      .books-img {
        padding: 5px;
      }
    }
  }

  // 新书
  .new-book {
    width: 280px;
    margin-top: 80px;
    border: solid 2px #e5e5e5;
    color: #808080;

    h2 {
      text-align: center;
      margin-top: 5px;
    }

    .books-synopsis {
      line-height: 30px;
      justify-content: space-between;
      border-collapse: collapse;
      padding: 0 18px;
      position: relative;

      p {
        padding-left: 5px;
        border-bottom: 1px solid #ccc;
      }

      .books-quantity {
        position: absolute;
        top: 4px;
        left: 6px;
        color: red;
      }

      span {
        display: inline-block;
        width: 126px;
        vertical-align: top;
        font-size: 14px;
      }

      .show {
        line-height: 20px;
        z-index: 999;
      }
    }

    .content2 {
      :first-child {
        .show {
          display: block;
        }

      }

      :last-child {
        p {
          border: 0;
        }
      }
    }
  }

  // 电子书,最新上架和独家畅销
  .content1 {
    table {
      display: none;
    }

    >:nth-child(1) {
      display: block;
    }
  }
}

/* 独家提供 */
.ez-webSite-cms {
  .controls {
    width: 232px !important;
  }

  .parcel-content {

    li {
      position: relative !important;

      img {
        width: 100px !important;
        height: 100px !important;
      }

      .recommend {
        img {
          width: 100px !important;
          height: 16px !important;
        }
      }
    }
  }

  .distance {
    position: absolute;
    top: 200px;
  }
}

/* 猜你喜欢 */
#promotionOfGoods {
  .promotion-content {
    li {
      flex: 0.25;
      margin-left: 26px;
      padding: 0 32px;
      color: #333333;
    }

    li:hover {
      background: #f2f2f2;
    }

    img {
      margin-top: 20px;
    }
  }

  .promotion-price {
    font-size: 24px;
  }

  .iconfont {
    color: #468bfd !important;
    line-height: 31px;

    span {
      margin-left: 10px;
    }
  }

  .title {
    p {
      width: 12px;
      height: 12px;
      background: #bfbfbf;
      margin: 8px 7px 0 0;
      border-radius: 50%;
    }
  }
}

/*  尾部图片 */
.footer-img-classify {
  padding: 40px 0 20px;
  margin-top: 10px;
  border-top: 2px solid #ccc;
}

/* 楼层跳转 */
.floor {
  position: fixed;
  width: 40px;
  height: 200px;
  top: 50%;
  left: 50%;
  margin-left: -650px;
  background-color: #f2f2f2;

  li {
    height: 40px;
    line-height: 40px;
    text-align: center;
    text-indent: 40px;
    color: #fff;
    overflow: hidden;
    background: url('../img/floor.png') no-repeat;
  }

  ul {
    >:nth-child(1) {
      background-position-y: 0;
    }

    :nth-child(2) {
      background-position-y: -80px;
    }

    :nth-child(3) {
      background-position-y: -160px;
    }

    :nth-child(4) {
      background-position-y: -200px;
    }

    :nth-child(5) {
      background-position-y: -320px;
    }
  }

  .tophead {
    text-align: center;
    line-height: 40px;
    font-size: 30px;
    background-color: #f2f2f2;
  }
}

/*  固定顶部搜索框 */
.fix-top {
  width: 100%;
  height: 50px;
  background: #fff;
  border-bottom: 2px solid #f60;
  position: fixed;
  top: 0;
  display: none;

  input {
    margin: 0 auto;
  }
}

#footer {
  margin: -4px 0 0;
}